package com.car.main;

import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import com.bbs.crawl.BBSCrawlOfBitAuto;
import com.bbs.dao.BBSDaoOfBitAuto;

public class BBSMainOfBitAuto {
	public static void main(String[] args) {
		BBSDaoOfBitAuto bbsdao = new BBSDaoOfBitAuto();
		List<String> urlSpell = bbsdao.getUrlSpell();
		// new Thread(new BBSCrawlOfBitAuto(bbsdao, "fit"));
		// ExecutorService fixedThreadPool = Executors.newFixedThreadPool(35);
		// for (String url : urlSpell) {
		// if (url != null) {
		// fixedThreadPool.execute(new BBSCrawlOfBitAuto(bbsdao, url));
		// }
		// }
		// fixedThreadPool.shutdown();
	}

}
